FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER ldos@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

#RUN mkdir -p /ld-boot/config/ld/

WORKDIR /ld-boot

EXPOSE 8080

#ADD ./src/main/resources/ld ./config/ld
ADD ./target/ld-system-start-3.6.2.jar ./

CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar ld-system-start-3.6.2.jar